package com.lzy.system.organization.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 用户映射
 * </p>
 *
 * @author lcc
 * @since 2023-11-25
 */
@TableName("sys_user_mapping")
@ApiModel(value = "SysUserMapping对象", description = "用户映射")
@Data
public class SysUserMapping implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long user_id;

    @ApiModelProperty("部门id")
    private Long dep_id;

    @ApiModelProperty("公司id")
    private Long company_id;

    @ApiModelProperty("是否管理0否1是")
    private Integer is_manage;

    @ApiModelProperty("默认身份0否1是")
    private Integer is_def;

    @ApiModelProperty("排序")
    private Integer order_index;
}
